<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>

<head>
<title>任务详情</title>
<link href="${ctx}/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="${ctx}/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<!-- Data Tables -->
<link href="${ctx}/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

<link href="${ctx}/css/animate.css" rel="stylesheet">
<link href="${ctx}/css/style.css?v=4.1.0" rel="stylesheet">
<!-- 全局js -->
<script src="${ctx}/js/jquery.min.js?v=2.1.4"></script>
<script src="${ctx}/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Data Tables -->
<script src="${ctx}/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="${ctx}/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<!-- 自定义js -->
<script src="${ctx}/js/content.js?v=1.0.0"></script>
<script src="${ctx}/task/IssuedTaskDetail.js"></script>
</head>

<body>
	<div class="ibox-content">							
		<form class="form-horizontal" action="" method="post" id="taskDetailForm">
			<div class="form-group" style="display:none">
				<label class="col-sm-3 control-label">任务id：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="taskId">${task.taskId}</span>
				</div>
			</div>

			<div class="form-group" >
				<label class="col-sm-3 control-label">任务标题：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="taskTitle">${task.taskTitle}</span>
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-3 control-label">任务内容：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="taskTitle">${task.taskContent}</span>
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-3 control-label">紧急程度：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="rushStatus">${task.rushStatus eq 0 ? "一般": (task.rushStatus eq 1 ? "紧急" : "重大")}</span>
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-3 control-label">任务处理时间：</label>
				<div class="col-sm-3">
					<a class="help-block m-b-none" id="handleBegin">${task.handleBegin}</a> - <a class="help-block m-b-none" id="handleEnd">${task.handleEnd}</a>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="beginTime">${task.beginTime}</span>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">下发人员：</label>
				<div class="col-sm-3">
					<span class="help-block m-b-none" id="clerk">${task.clerk}</span>
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-3 control-label">完成进度：</label>
				<div class="col-sm-5">
					<div class="help-block m-b-none">
						<div class="progress progress-striped active">
						<div id="progressBar" style="width:100%" aria-valuemax="100" aria-valuemin="0"
							aria-valuenow="75" role="progressbar"
							class="progress-bar progress-bar-danger">
						<!--  	<span class="sr-only">40% Complete (success)</span> -->
						</div>
					</div>					
				</div>
			</div>
			</div>
			
			
		</form>							
	</div>	
</body>
</html>